struct Endian {
    static bool is_little_endian(){
        ints tmp;
        return tmp.tmp[0];
    }

   private:
    union ints {
        int i = 1;
        char tmp[4];
    };
};